package com.xjtu.chapter04.ex4_5;

/**
 * @author yjq
 * @version 1.0
 * @date 2021/8/14 22:26
 */
public class Test {
    public static void main(String[] args) {
        Point one = new Point(4, 2);
        Point two = new Point(6, 3);
        Line line = new Line(one, two);
        //Line line = new Line(4,2,6,3);
        System.out.println("点A：" + one.x + "," + one.y);
        System.out.println("点B：" + two.x + "," + two.y);
    }
}
